# name : set local to utf8/utf-8, CMD Batch/Rscript to read utf8 files
# key : set_local_utf8
# contributor: Shuguang Sun
# --
if (!interactive()) {
suppressWarnings(
# Sys.setlocale(category = "LC_CTYPE", locale = \"${1:$$(yas-choose-value '(".utf8" ".65001" "chinese_CHN.utf8" "chinese_CHN.65001"))}\"
)
Sys.setlocale(category = "LC_ALL", locale = \"${1:$$(yas-choose-value '(".utf8" ".65001" "chinese_CHN.utf8" "chinese_CHN.65001"))}\"
}
